//------------------------------------------------------------------------
// Abstract: Define Useful Macro
//
// Authoring: XiaoHanxiong
//
// Time: 2014.03.08
//
// Static test:
//
// Version history:
//		Ver_1.0 : 2014.03.08	XiaoHanxiong
//------------------------------------------------------------------------
#ifndef _Library_Macro_h_
#define _Library_Macro_h_

#include "Stdafx.h"


namespace Library
{

#define DELCARE_CLASS_MEMBER_ACCESS(AccessFunction, DataType, DataMember)\
private:\
	DataType DataMember;\
public:
	inline DataType& AccessFunction()\
	{\
		return DataMember;\
	}\
private:

//#define DECLARE_MEMBER_ACCESS_PROPERTY(Access, Type, FunMember, DataMember)\
//Access:\
//	Type DataMember;\
//public:\
//	Type inline FunMember(){ return DataMember; }\
//	Type& FunMember##Ref(){ return DataMember;}\
//	Type& FunMember##C() { return DataMember; } const\
//	Type* FunMember##Ptr() { return (&DataMember); }\
//public:
	

}// _Library_

#endif